package com.etc.service.impl;

import java.util.List;

import com.etc.dao.IDeptDao;
import com.etc.dao.impl.DeptDaoImpl;
import com.etc.entity.Dept;
import com.etc.service.IDeptService;


public class DeptServiceImpl implements IDeptService {
	IDeptDao dao=new DeptDaoImpl();

	@Override
	public Dept queryById(int deptId) {
		return null;
	}

	@Override
	public List<Dept> getqueryDept() {
		return dao.queryDept();
	}

	@Override
	public Dept getDeptByName(String deptName) {
		return dao.queryDeptByName(deptName);
	}
	
	
}
